:root {
    --primary-color: #808c78;
    --primary-hover-color: #808c78cc;
    --secondary-color: #808c78;
    --secondary-hover-color: #808c78cc;
    --primary-text-color: #252525;
    --secondary-text-color: #fff;
    --terciary-text-color: #fff;
}

.container-fake {
    margin-left: 300px;
}

.fundo-mobile {
    display: none;
}

#header-warranty {
    background-repeat: no-repeat;
    background-size: 1920px 1080px;
}

.header_garantia{
    background-color: var(--primary-color);
}

#header-warranty .warranty-column {
    height: 1080px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

#header-warranty h1 {
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    color: var(--terciary-text-color);
}

#header-warranty p {
    font-weight: 400;
    font-size: 20px;
    color: var(--terciary-text-color);
}

#header-warranty input {
    margin-bottom: 1rem;
    border: 1px solid #f5f5f5;
}

#header-warranty #enviar-cadastro {
    width: 100%;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--secondary-text-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#header-warranty #enviar-cadastro SPAN {
    font-weight: 600;
    font-size: 1.2rem;
}

#header-warranty #enviar-cadastro:hover {
    background-color: var(--secondary-hover-color);
}

.div-section {
    background-color: var(--primary-color);
    width: 100%;
    padding: 2rem 0;
}

.div-section h2 {
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 44px;
    text-align: center;
    color: var(--secondary-text-color);
    margin-bottom: 0;
}

#warranty-cares {
    padding: 3rem 0;
    background-color: #ffffff;
}

#warranty-cares h1 {
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    color: var(--primary-text-color);
}

#warranty-cares p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-text-color);
    text-align: center;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-header button {
    font-size: 1.1rem;
    font-weight: 600;
}

.accordion-body {
    font-size: 1rem;
}

.cod-desc {
    margin-bottom: 0 !important;
    font-size: .75rem !important;
    color: #6c6c6c !important;
}

.barcode {
    display: flex;
}

.barcode .remove_button {
    padding: 18px;
    background-color: var(--primary-color);
    color: #ffffff;
    /* border-radius: 30px; */
    height: 46px;
    display: flex;
    align-items: center;
}

#add_button {
    width: 100%;
    height: 46px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .875rem;
}

#add_button:hover {
    background-color: var(--primary-hover-color);
}

.warranty-footer {
    background-color: var(--primary-color);
    color: var(--secondary-text-color);
}

.warranty-footer p,
.warranty-footer a {
    font-size: .75rem;
}

.warranty-footer p {
    padding: 1rem;
    margin-bottom: 0;
}

.btn.btn-link,
.btn.btn-link:hover{
    align-items: center !important;
    justify-content: space-between !important;
    color: var(--primary-text-color) !important;
    text-decoration: none !important;
}

.btn.btn-link[aria-expanded="true"] {
    color: #fff !important;
}

.btn.btn-link i {
    transition: transform 0.4s ease-in-out;
}

.btn.btn-link[aria-expanded="false"] i {
    transform: rotate(90deg);
}

.btn.btn-link[aria-expanded="true"] i {
    transform: rotate(-90deg);
}

.card-header:has(h5 .btn.btn-link[aria-expanded="true"]) {
    background-color: var(--secondary-color);
    color: var(--secondary-text-color);
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: transparent;
    color: var(--primary-text-color);
}

.dev-by {
    position: absolute;
    right: 10%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.dev-by p {
    padding: 0 !important;
}

.dev-by a {
    font-size: .875rem;
    text-decoration: none;
    color: var(--secondary-text-color);
}

.dev-by a:hover {
    color: var(--secondary-hover-color);
}

@media (max-width: 720px) {
    .container-fake {
        margin-left: 1rem;
    }

    .dev-by a {
        display: flex;
        justify-content: center;
    }

    .dev-by {
        display: flex;
        flex-direction: column;
        position: unset;
    }

    .fundo-mobile {
        display: block;
    }

    #header-warranty {
        background-image: none;
    }

    #header-warranty h1,
    #header-warranty p,
    #cadastro-garantia,
    #warranty-cares h1,
    .accordion,
    #warranty-cares p {
        padding: 10px;
    }

    #header-warranty p {
        font-size: 1.125rem;
    }

    #add_button {
        margin-bottom: 10px;
    }

    .barcode .remove_button,
    #add_button {
        height: 41px;
    }

    #header-warranty .warranty-column {
        height: unset;
        padding: 2rem 0;
    }

    #header-warranty h1 {
        font-weight: 700;
        font-size: 2.5rem;
        line-height: 2.7rem;
    }

    .div-section h2 {
        font-size: 1.9rem;
        line-height: unset;
    }

    #warranty-cares h1,
    #warranty-cares p {
        font-size: 1.125rem;
        line-height: unset;
        margin-bottom: 1rem;
        text-align: start;
    }

    .accordion-header button {
        font-size: 1.2rem;
    }

    .accordion-body {
        font-size: 1.125rem;
    }

    #header-warranty h1,
    #header-warranty p {
        color: var(--primary-text-color);
    }

    #header-warranty {
        background-image: none !important;
    }

    .card-header {
        width: 100%;
    }
}